﻿//
// Created: 2018/11/7
// Author: chenqiang
//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xproject.Framework.Core;
using System.ComponentModel.DataAnnotations.Schema;

namespace Model.WeiXin
{
    public class  WeiXinMessage:IEntity
    {
    
       ///<summary>
       ///
       ///<summary>
       public string MessageID  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string MsgType  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string TemplateID  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string Sender  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string SenderUserID  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string UserID  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string Subject  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string OpenId  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string Content  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string MessageBody  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public DateTime CreateTime  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public DateTime SendTime  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public int State  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string Remark  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public int SendCount  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string WXMsgId  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public DateTime ConfirmTime  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string WXResult  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string AppID  { get; set; } 
         
    
       [NotMapped]
        public long Id { get; set; }

        [NotMapped]
        public EntityState EntityState { get; set; }

        public int CompareTo(object obj)
        {
            throw new NotImplementedException();
        }
    }
}